package com.itheima.mall.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 限时购场次表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sms_flash_promotion_session")
public class FlashPromotionSession {

    private Long id;        //编号
    private String name;        //场次名称
    private Date startTime;     //每日开始时间
    private Date endTime;       //每日结束时间
    private Integer status;     //启用状态：0->不启用；1->启用
    private Date createTime;    //创建时间

    @TableField(exist = false)
    private Integer productCount;
}
